package cn.cs.pojo;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/***
 *   组织架构表
 */
public class CsOrg implements Serializable {
    //组织ID
    private String id;
    //组织名称
    private String orgName;
    //组织编码
    private String orgCode;
    //组织上级ID
    private String orgFid;
    //组织种类
    private String orgKindId;
    //组织生效状态
    private Integer orgValidState;
    //父ID
    private String orgParentId;
    //等级
    private Integer orgLevel;
    //座机
    private String orgPhone;
    //描述
    private String orgDescription;
    //人员ID
    private String orgPersonId;
    //更新时间
    private Date modifyTime;
    //创建时间
    private Date createTime;
    //部门负责人姓名
    private String personName;

    private List<CsOrg> orgNext;

    private List<CsPerson> persons;

    //get set 方法
    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return this.id;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getOrgName() {
        return this.orgName;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public String getOrgCode() {
        return this.orgCode;
    }

    public void setOrgFid(String orgFid) {
        this.orgFid = orgFid;
    }

    public String getOrgFid() {
        return this.orgFid;
    }

    public void setOrgKindId(String orgKindId) {
        this.orgKindId = orgKindId;
    }

    public String getOrgKindId() {
        return this.orgKindId;
    }

    public void setOrgValidState(Integer orgValidState) {
        this.orgValidState = orgValidState;
    }

    public Integer getOrgValidState() {
        return this.orgValidState;
    }

    public void setOrgParentId(String orgParentId) {
        this.orgParentId = orgParentId;
    }

    public String getOrgParentId() {
        return this.orgParentId;
    }

    public void setOrgLevel(Integer orgLevel) {
        this.orgLevel = orgLevel;
    }

    public Integer getOrgLevel() {
        return this.orgLevel;
    }

    public void setOrgPhone(String orgPhone) {
        this.orgPhone = orgPhone;
    }

    public String getOrgPhone() {
        return this.orgPhone;
    }

    public void setOrgDescription(String orgDescription) {
        this.orgDescription = orgDescription;
    }

    public String getOrgDescription() {
        return this.orgDescription;
    }

    public void setOrgPersonId(String orgPersonId) {
        this.orgPersonId = orgPersonId;
    }

    public String getOrgPersonId() {
        return this.orgPersonId;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Date getModifyTime() {
        return this.modifyTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getCreateTime() {
        return this.createTime;
    }

    public String getPersonName() {
        return personName;
    }

    public void setPersonName(String personName) {
        this.personName = personName;
    }

    public List<CsOrg> getOrgNext() {
        return orgNext;
    }

    public void setOrgNext(List<CsOrg> orgNext) {
        this.orgNext = orgNext;
    }

    public List<CsPerson> getPersons() {
        return persons;
    }

    public void setPersons(List<CsPerson> persons) {
        this.persons = persons;
    }
}
